package com.vshining.cryptoki.jna.pkcs11t;

import com.sun.jna.Structure;

import java.util.Arrays;
import java.util.List;

/**
 * @author Shining Wang <shiningwang@vshining.com>
 */
@SuppressWarnings("unused")
public class CK_DATE extends Structure {
    public byte[] year = new byte[4];
    public byte[] month = new byte[2];
    public byte[] day = new byte[2];

    @Override
    protected List getFieldOrder() {
        return Arrays.asList(
                "year",
                "month",
                "day"
        );
    }
}
